/*
 * $Id: IClientValidatorContext.java,v 1.2 2009/03/04 10:10:59 oeuillot Exp $
 */
package org.rcgwt.client.ui.validator;

import org.rcgwt.client.ui.validator.messages.IMessage;
import org.rcgwt.client.ui.validator.messages.Severity;
import org.rcgwt.client.ui.validator.messages.ValidatorMessagesProvider;

/**
 * A ClientValidatorContext interface
 * 
 * @author Elian ORIOU
 * 
 */

public interface IClientValidatorContext {

	void addMessage(String summary, String value, Severity sev);

	void addGlobalMessage(String errorCode, String value, Severity sev);

	IMessage getLastMessage();

	ValidatorMessagesProvider getMessagesProvider();
}
